<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>graycolormap</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : 23/03/2004</div>
    <p>
      <b>graycolormap</b> -  linear gray colormap</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>cmap=graycolormap(n)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>n</b>
        </tt>: integer &gt;= 1, the colormap size.</li>
      <li>
        <tt>
          <b>cmap</b>
        </tt>: matrix with 3 columns <tt>
          <b>[R,G,B]</b>
        </tt>.</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
      <tt>
        <b>graycolormap</b>
      </tt> computes a colormap with <tt>
        <b>n</b>
      </tt> gray colors
    varying linearly from black to white.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

xset("colormap",graycolormap(32))
plot3d1() 
 
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="colormap.htm">
        <tt>
          <b>colormap</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="hotcolormap.htm">
        <tt>
          <b>hotcolormap</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="jetcolormap.htm">
        <tt>
          <b>jetcolormap</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="xset.htm">
        <tt>
          <b>xset</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
